
#include "face_beauty_interface.h"


namespace facebeauty
{

class FaceBeautyModuleMock: public FaceBeautyInterface
{
public:
    FaceBeautyModuleMock() {};
    virtual ~FaceBeautyModuleMock() {};

    virtual int InitModule(int feature, std::size_t width, std::size_t height, FACE_BEAUTY_COLOR_SPACE color) { return FACE_BEAUTY_ERROR_SUCCESS; };
    virtual void Reset() {};
    virtual int SetFeatureQuality(int feature, int quality) { return FACE_BEAUTY_ERROR_SUCCESS; };
    virtual int ProccessFrame(FaceBeautyFrame* in_frame, FaceBeautyFrame* out_frame = nullptr) { return FACE_BEAUTY_ERROR_SUCCESS; };
};

int CreateFaceBeautyModule(std::shared_ptr<FaceBeautyInterface> &filter)
{
    filter.reset(new FaceBeautyModuleMock());
    return FACE_BEAUTY_ERROR_SUCCESS;
}

}
